<?
	$title="Add Restaurant"; 
	$pageid="5";
	$accessid="a00";
	
	require("required/dbconnect.php"); 
	require("required/function.php");
	require("required/header.php");
	
	$id=de_id($_POST['id']);
	$content_eng=$_POST['content_eng'];
	$title_eng=$_POST['title_eng'];
	
	$create_date=$_POST['create_date'];
	$status=$_POST['status'];
	$type=$_POST['type'];
	
	$update=mysql_query("update os_news set content_eng='$content_eng',title_eng='$title_eng',create_date='$create_date',status='$status',type='$type' where id=$id")or die(mysql_error());
	
	
?>

<table width="95%" cellpadding="2" cellspacing="1">
	
	<td valign="top">
	<table class="solidborder" width="100%">
		<td align="center">Data update successfully!<br><br>
		<input type="button" class="button" value="Back" onClick="window.open('events.php','_self')">
		<br><br>
		</td>
	</tr>
	</table>
	</td>
</table>	

<? 

require("required/footer.php"); ?>